﻿<Page x:Class="Client.SignUp"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
      mc:Ignorable="d" 
      d:DesignHeight="342  " d:DesignWidth="516"
	Title="SignUp">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <ResourceDictionary Source="/Icons.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Page.Resources>

    <Grid>
        <Button  Style="{DynamicResource MetroCircleButtonStyle}" Width="42" Height="42" HorizontalAlignment="Left" Click="GoBack" VerticalAlignment="Top" >
            <Rectangle Width="20" Height="16">
                <Rectangle.Fill>
                    <VisualBrush Stretch="Fill" Visual="{StaticResource appbar_arrow_left}" />
                </Rectangle.Fill>
            </Rectangle>
        </Button>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" >
            
            <StackPanel.Resources>
                <Style TargetType="Label">
                    <Setter Property="Margin" Value="10"></Setter>
                </Style>
            </StackPanel.Resources>
            
            <WrapPanel>
                <Label Content="UserName:" Height="26" Width="97"/>
                <TextBox Name="UN" Height="26" TextWrapping="Wrap" Width="161" TabIndex="1"/>
            </WrapPanel>
            <WrapPanel>
                <Label Content="Password:" Height="26" Width="97"/>
                <PasswordBox Name="PW" Height="28" Width="161" TabIndex="2"/>
            </WrapPanel>
            <WrapPanel>
                <Label Content="FirstName:"  Height="26"  Width="97"/>
                <TextBox Name="FN"  Height="26" TextWrapping="Wrap" Width="161" TabIndex="3"/>
            </WrapPanel>
            <WrapPanel>
                <Label Content="LastName:" Height="26"  Width="97"/>
                <TextBox Name="LN" Height="26" TextWrapping="Wrap"  Width="161" TabIndex="4"/>
            </WrapPanel>
            <Controls:Tile   Click="SignupAction" Opacity="1"  Width="93" Height="28" HorizontalAlignment="Left" VerticalAlignment="Top" VerticalContentAlignment="Top" TextBlock.FontSize="3" Margin="15 0" FontSize="10">
                <TextBlock Text="Sign Up" FontSize="15" Foreground="White" VerticalAlignment="Center"/>
            </Controls:Tile>
            <Label Name="res"  Content="Unknown" HorizontalAlignment="Left" Height="31"  />
        </StackPanel>

        






        
        

    </Grid>
</Page>
